package com.yao.tool;

/**
 * @author yaoquanwei
 * @date 2021/8/9 17:08
 */
public class Node {
    public int val;
    public Node next;
    public Node random;
    public Node left;
    public Node right;

    public Node(int val) {
        this.val = val;
        this.next = null;
        this.random = null;
    }

    public Node(int _val, Node _left, Node _right) {
        this.val = _val;
        this.left = _left;
        this.right = _right;
    }
}
